package com.dabai.iot.core.convert;

import com.dabai.iot.core.entity.AlarmRecordEntity;
import com.dabai.iot.core.vo.AlarmRecordVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 告警记录 Convert
 *
 * @author kev1n
 */
@Mapper
public interface AlarmRecordConvert {

    AlarmRecordConvert INSTANCE = Mappers.getMapper(AlarmRecordConvert.class);

    AlarmRecordVO convertVO(AlarmRecordEntity entity);

}
